﻿<h2>
    Messages
</h2>
<div>
    <div ng-repeat="x in messages">
        <ul>
            <li>Message: {{x.message}}</li>
            <li>Name: {{x.name}}</li>
            <li>Time: {{x.time}}</li>
            <li><button ng-click="viewMessage(x.id)">View</button></li>
            <li><a href="/#/message/{{x.id}}">View</a></li>
        </ul>
    </div>
</div>
